import service from '../utils/request'

// // 考核列表 查看
// export function people_list(payload = {}) {
//     return service.get('/zzach', { params: payload })
// }

// //考核列表 新增
// export function people_add(payload = {}) {
//     return service.post('/zzach', payload)
// }

// //考核列表 删除
// export function people_delete(payload: any = {}) {
//     return service.delete('/zzach/' + payload.id, payload)
// }

// //考核列表 搜索

// export function people_search(payload = {}) {
//     return service.get('/zzach', { params: payload })
// }

//考核进度 查看
export function people_speed(payload = {}) {
    return service.get('/zzachspeed', { params: payload })
}

//考核进度 删除
export function people_speeddel(payload: any = {}) {
    return service.delete('/zzachspeed/' + payload.id, payload)
}

// //员工绩效档案 查看
// export function people_files(payload = {}) {
//     return service.get('/zzfiles', { params: payload })
// }

// //员工绩效档案 搜索
// export function people_filesearch(payload = {}) {
//     return service.get('/zzfiles', { params: payload })
// }

// //指标库
// export function people_standard(payload = {}) {
//     return service.get('/zzstandard', { params: payload })
// }

// //指标库 搜索
// export function people_standsearach(payload = {}) {
//     return service.get('/zzstandard', { params: payload })
// }

// //指标库 删除
// export function people_standdel(payload: any = {}) {
//     return service.delete('/zzstandard/' + payload.id, payload)
// }

//指标库 新增
export function people_standadd(payload = {}) {
    return service.post('/zzstandard', payload)
}


//考核模板
export function people_module(payload = {}) {
    return service.get('/zzmodule', { params: payload })
}
//考核模板 搜索
export function people_modulesearch(payload = {}) {
    return service.get('/zzmodule', { params: payload })
}

//考核模板 删除
export function people_moduledel(payload: any = {}) {
    return service.delete('/zzmodule/' + payload.id, payload)
}

//指标库 新增
export function people_moduleadd(payload = {}) {
    return service.post('/zzmodule', payload)
}

// 审批管理
export function people_agree(payload = {}) {
    return service.get('/zzagree', { params: payload })
}

// 审批管理 搜索
export function people_agreesearch(payload = {}) {
    return service.get('/zzagree', { params: payload })
}

// 审批表单


